#ifndef __TIMER_1S_H
#define __TIMER_1S_H

#include "stm32f10x.h"
//#include "ht1382.h"
//#include "rtc.h"

void TIM2_NVIC_Config(void);
void TIM2_Config(void);
void tim2_int_handle(void);
#define TIM_START  RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2 , ENABLE);\
				TIM_Cmd(TIM2, ENABLE)
#define TIM_STOP  TIM_Cmd(TIM2, DISABLE);\
				RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2 , DISABLE)
				
#endif

